package com.cqjtu.eecs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 培养目标
 * </p>
 *
 * @author
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TrainingGoal对象", description="培养目标")
public class TrainingGoal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "培养目标编号")
    @TableId(value = "training_goal_id", type = IdType.AUTO)
    private Integer trainingGoalId;

    @ApiModelProperty(value = "培养方案编号")
    private Integer pid;

    @ApiModelProperty(value = "培养目标代码")
    private String trainingGoalCode;

    @ApiModelProperty(value = "培养目标描述")
    private String trainingGoalDesc;

    public TrainingGoal() {
    }

    public TrainingGoal(Integer trainingGoalId,
                        Integer pid,
                        String trainingGoalCode,
                        String trainingGoalDesc) {
        this.trainingGoalId = trainingGoalId;
        this.pid = pid;
        this.trainingGoalCode = trainingGoalCode;
        this.trainingGoalDesc = trainingGoalDesc;
    }
}
